package com.example.myspringframework.beans.factory;

import com.example.myspringframework.beans.BeansException;
import com.example.myspringframework.beans.factory.config.BeanDefinition;

// 结合遍历bean和扩展Benefactory的能力
public interface ConfigurableListableBeanFactory extends ListableBeanFactory, ConfigurableBeanFactory {

    // 根据beanName获取BeanDefinition
    BeanDefinition getBeanDefinition(String beanName) throws BeansException;

    // 提前实例化单例bean
    void preInstantiateSingletons() throws BeansException;
}
